<html xmlns="http://www.w3c.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<script type="text/javascript">
		//<![CDATA[
		//debe usarse los \\:  en lugar de : en los selectores de JQuery
		$(document).ready(function() {
			console.log('Listo');
		});
		
		//]]>
	</script>
	<link rel="stylesheet" type="text/css" href="css/estilo.css" />
	<script type="text/javascript" src="js/main.js" />
</h:head>
<h:body>
	<div id="estiloformulario3">
		<h:outputLabel value="CONFIRMACION DE USIARIO" />
	</div>
	<h:form id="form_register">
		<h3 id="estiloletras2">El usuario se ha creado de manera exitosa</h3>
		<br />
		<div id="estiloformularioConfirmacion">
			<br />
			<div class="ui-form-row clearfix text-align-left">
				<h:outputLabel value="primer nombre" />
			</div>
			<div class="ui-form-row clearfix text-align-left">
				<h:outputLabel value="#{registrationController.newUser.firstName}" />
			</div>

			<br />
			<div class="ui-form-row clearfix text-align-left">
				<h:outputLabel value="Segundo nombre" />
			</div>
			<div class="ui-form-row clearfix text-align-left">
				<h:outputLabel value="#{registrationController.newUser.secondName}" />
			</div>

			<br />
			<div class="ui-form-row clearfix text-align-left">
				<h:outputLabel value="Primer apellido" />
			</div>

			<div class="ui-form-row clearfix text-align-left">
				<h:outputLabel value="#{registrationController.newUser.firstLastName}" />
			</div>

			<div class="ui-form-row clearfix text-align-left">
				<h:outputLabel value="Segundo apellido" />
			</div>

			<div class="ui-form-row clearfix text-align-left">
				<h:outputLabel
					value="#{registrationController.newUser.secondLastName}" />
			</div>


			<br />
			<div class="ui-form-row clearfix text-align-left">
				<h:outputLabel value="Usuario" />
			</div>
			<div class="ui-form-row clearfix text-align-left">
				<h:outputLabel value="#{registrationController.newUser.userName}" />
			</div>
			<br />
			
		</div>
		<br />
		<div class="ui-form-row clearfix text-align-center">
			
			<p:commandButton value="Finalizar"
				actionListener="#{registrationController.finalizar}" oncomplete="currentPage('login.xhtml')" />
		</div>
	</h:form>
</h:body>

</html>